/*
 * @(#)PlayRuleFactory.java $version 2013. 5. 15.
 *
 */

package com.pace.gonu.model.rule;

import com.pace.gonu.constants.GameType;

/**
 * @author pace
 */
public class PlayRuleFactory {
	public static PlayRule getInstance(GameType gameType) {
		switch (gameType) {
			case HOBAK:
				return new HobakPlayRule();
			case CHARM:
				return new CharmPlayRule();
			default:
				return null;
		}
	}
	
}
